package com.jpress.remote;

import java.util.List;
import java.util.Map;

import javax.ejb.Remote;

@Remote
@SuppressWarnings("rawtypes")
public interface DaoJpaBeanRemote<T> {
	void persist(T obj);
	void remove(T obj);
	void merge(T obj);
	List<T> namedQueryResultList(String queryName);
	List<T> namedQueryResultList(String queryName, Map parameters);
	T namedQuerySingleResult(String queryName);
	T namedQuerySingleResult(String queryName, Map parameters);
	
}
